﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Opentao.NotificationService.Application.Service.DTO
{
    [ DataContract( IsReference = true ) ]
    public class EventTypeDTO
    {
        public EventTypeDTO()
        {
            Subscribers = new List<RecipientDTO>();
        }

        [ DataMember ] public int Id { get; set; }
        [ DataMember ] public string Title { get; set; }
        [ DataMember ] public List<RecipientDTO> Subscribers { get; set; }
    }
}